package api;

import java.util.*;

public class CollectionSortDemo {
    public static void main(String[] args) {
        Integer[] array = {12,34,32,21,45};
        List<Integer> list = Arrays.asList(array);
        Collections.sort(list);
        System.out.println(list);
    }
}
